<?php
/**
 * Descript: 错误码字典
 * User: blue
 * Date: 2018/8/17 10:23
 */

namespace app\lib\exception;


class ErrDict
{
    //服务器内部错误 http状态码500
    const BASE_SERVER_ERROR=1000;


    //参数错误http状态码 code码400
    const PARAMS_BASE_ERROR=1100;


    //TOKEN错误http状态码 401
    const TOKEN_BASE_ERROR=2000;


    //权限验证错误http状态码 403
    const FORBIDDEN_BASE_ERROR=2100;


    //资源返回错误 http状态码 404
    const RESOURCES_BASE_ERROR=3000;

}